package com.zhengxiang.onlinexamination.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhengxiang.onlinexamination.base.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 待考试(WaitPaper)实体类
 *
 * @author 
 * @since 2023-03-15 11:44:51
 */
@Data
public class WaitPaper extends BaseEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer waitPaperId;
    /**
     * 试卷id
     */
    private Integer examPaperId;
    /**
     * 卷名
     */
    private String paperName;
    /**
     * 试卷完整内容
     */
    private String paperContent;
    /**
     * 0待考  1全部考完
     */
    private Integer waitState;
    /**
     * -1删除
     */
    private Integer state;
    /**
     * 待考人数
     */
    private Integer waitUserNum;
    /**
     * 已考人数
     */
    private Integer alreadyUserNum;
    /**
     * 二维码地址
     */
    private String qrCode;
    /**
     * 所属公司
     */
    private Integer companyId;
    /**
     * 所属部门
     */
    private Integer deptId;
    /**
     * 截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date waitTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;



}

